<ul>
<?php foreach($films as $film){ ?>
    <li>
	<hr/>
	<a href="fiche.php?film=<?= $film->FILM_NUMID ?>"><img src="<?= $film->FILM_AFFIC ?>" height="150px"/></a>
	<h3><?= $film->FILM_TITRE ?></h3>
	<p><span>Date de sortie : </span><?= Date::formaterDateFR($film->FILM_SORTI) ?></p>
	<p><span>Genre : </span><?= $film->FILM_GENRE ?></p>
	<p><span><?= Texte::toHtml("Durée") ?> : </span><?= Date::formaterDuree($film->FILM_DUREE) ?></p>
	<p><span>Synopsis  : </span><?= Texte::formaterTexteCourt($film->FILM_SYNOP) ?></p>
	<p class="clear">
        <a href="fiche.php?film=<?= $film->FILM_NUMID ?>"><?= Texte::toHtml('Voir les séances') ?></a>
    </p>
    </li>
<?php } ?>
</ul>
<form method="post">
    <button name="action" value="pdf">Version PDF</button>
</form>